﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace BTCairo
{
    public abstract class Shape
    {
        public Shadow shadow = null;
        public Highlight highlight = null;
        public Border border = null;
        private CommonGraphics comGra;
        public CommonGraphics myCommonGraphic
        {
            get { return comGra; }
            set { comGra = value; }
        }

        virtual public Shape CloneShape()
        {
            return null;
        }
        virtual public Shape CloneShape(int plusX, int plusY)
        {
            return null;
        }
        virtual public InfoGraphic getInfoShape()
        {
            return null;
        }

        virtual public void Draw()
        {
        }
        virtual public void DrawEffect()
        {
        }

        //virtual public string ToString()
        //{
        //    return "";
        //}

        virtual public void ParseXmlElement(XmlDocument doc, XmlElement root)
        {
        }
    }
}
